﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_ListPriceD_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_ListPriceD_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_ListPriceD_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_ListPriceD_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_ListPriceD_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_ListPriceD_Gridview", "No");
        [Column]
        public string D_Cust_Grp4 { get { return _D_Cust_Grp4; } set { _D_Cust_Grp4 = value; EntityState.FieldChange("D_Cust_Grp4"); } } private string _D_Cust_Grp4; public static FieldInfo d_Cust_Grp4 = new FieldInfo("TW_ListPriceD_Gridview", "D_Cust_Grp4");
        [Column]
        public string D_Sales_Off { get { return _D_Sales_Off; } set { _D_Sales_Off = value; EntityState.FieldChange("D_Sales_Off"); } } private string _D_Sales_Off; public static FieldInfo d_Sales_Off = new FieldInfo("TW_ListPriceD_Gridview", "D_Sales_Off");
        [Column]
        public string D_Material { get { return _D_Material; } set { _D_Material = value; EntityState.FieldChange("D_Material"); } } private string _D_Material; public static FieldInfo d_Material = new FieldInfo("TW_ListPriceD_Gridview", "D_Material");
        [Column]
        public string D_Description { get { return _D_Description; } set { _D_Description = value; EntityState.FieldChange("D_Description"); } } private string _D_Description; public static FieldInfo d_Description = new FieldInfo("TW_ListPriceD_Gridview", "D_Description");
        [Column]
        public string D_Amount { get { return _D_Amount; } set { _D_Amount = value; EntityState.FieldChange("D_Amount"); } } private string _D_Amount; public static FieldInfo d_Amount = new FieldInfo("TW_ListPriceD_Gridview", "D_Amount");
        [Column]
        public string D_Unit { get { return _D_Unit; } set { _D_Unit = value; EntityState.FieldChange("D_Unit"); } } private string _D_Unit; public static FieldInfo d_Unit = new FieldInfo("TW_ListPriceD_Gridview", "D_Unit");
        [Column]
        public string D_Per { get { return _D_Per; } set { _D_Per = value; EntityState.FieldChange("D_Per"); } } private string _D_Per; public static FieldInfo d_Per = new FieldInfo("TW_ListPriceD_Gridview", "D_Per");
        [Column]
        public string D_Uom { get { return _D_Uom; } set { _D_Uom = value; EntityState.FieldChange("D_Uom"); } } private string _D_Uom; public static FieldInfo d_Uom = new FieldInfo("TW_ListPriceD_Gridview", "D_Uom");
        [Column]
        public string D_Calculat_Type { get { return _D_Calculat_Type; } set { _D_Calculat_Type = value; EntityState.FieldChange("D_Calculat_Type"); } } private string _D_Calculat_Type; public static FieldInfo d_Calculat_Type = new FieldInfo("TW_ListPriceD_Gridview", "D_Calculat_Type");
        [Column]
        public string D_ScaleBasis { get { return _D_ScaleBasis; } set { _D_ScaleBasis = value; EntityState.FieldChange("D_ScaleBasis"); } } private string _D_ScaleBasis; public static FieldInfo d_ScaleBasis = new FieldInfo("TW_ListPriceD_Gridview", "D_ScaleBasis");
        [Column]
        public string D_Valid_From { get { return _D_Valid_From; } set { _D_Valid_From = value; EntityState.FieldChange("D_Valid_From"); } } private string _D_Valid_From; public static FieldInfo d_Valid_From = new FieldInfo("TW_ListPriceD_Gridview", "D_Valid_From");
        [Column]
        public string D_Valid_To { get { return _D_Valid_To; } set { _D_Valid_To = value; EntityState.FieldChange("D_Valid_To"); } } private string _D_Valid_To; public static FieldInfo d_Valid_To = new FieldInfo("TW_ListPriceD_Gridview", "D_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_ListPriceD_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_ListPriceD_Gridview", "Status");

    }
}
